PayPal\Api\Sale S

Total Complexity 48
Dependencies 7
Dependents 1
Total lines 599
Lines of code 208
Logical lines of code 87
Comment lines 295
Methods 47
Properties 0

Methods 47

Method Rating Maintainability Complexity Lines of code
refundSale()
S
58 1 16
refund()
S
58 1 16
addPaymentHoldReason()
S
66 2 9
get()
S
59 1 15
getReceiptId()
S
82 1 3
setReceivableAmount()
S
77 1 4
getReceivableAmount()
S
82 1 3
setExchangeRate()
S
77 1 4
getExchangeRate()
S
82 1 3
setFmfDetails()
S
77 1 4
getFmfDetails()
S
82 1 3
setReceiptId()
S
77 1 4
setParentPayment()
S
77 1 4
getUpdateTime()
S
82 1 3
getParentPayment()
S
82 1 3
getTransactionFee()
S
82 1 3
getProcessorResponse()
S
82 1 3
setBillingAgreementId()
S
77 1 4
getBillingAgreementId()
S
82 1 3
setCreateTime()
S
77 1 4
getCreateTime()
S
82 1 3
setUpdateTime()
S
77 1 4
setProcessorResponse()
S
77 1 4
setId()
S
77 1 4
setTransactionFee()
S
77 1 4
getReasonCode()
S
82 1 3
setPurchaseUnitReferenceId()
S
77 1 4
getPurchaseUnitReferenceId()
S
82 1 3
setAmount()
S
77 1 4
getAmount()
S
82 1 3
setPaymentMode()
S
77 1 4
getPaymentMode()
S
82 1 3
setState()
S
77 1 4
getState()
S
82 1 3
setReasonCode()
S
77 1 4
setProtectionEligibility()
S
77 1 4
getId()
S
82 1 3
getProtectionEligibility()
S
82 1 3
setProtectionEligibilityType()
S
77 1 4
getProtectionEligibilityType()
S
82 1 3
setClearingTime()
S
77 1 4
getClearingTime()
S
82 1 3
setPaymentHoldStatus()
S
77 1 4
getPaymentHoldStatus()
S
82 1 3
setPaymentHoldReasons()
S
77 1 4
getPaymentHoldReasons()
S
82 1 3
removePaymentHoldReason()
S
74 1 5